#pragma once


// Main multi-platform entry-point
void pix5main()
{
	// Instantiate the defined application type and run its main
	App::_app = new PIX5APP();
	App::_app->main();
}


//
// Platform-specific entry-points
//

#ifdef WIN32

	#include <windows.h>

	int WINAPI WinMain(HINSTANCE hi,HINSTANCE hpi,LPSTR cmd,int show)
	{
		pix5main();
		return 0;
	}

#else

	int main(int argc,char** argv)
	{
		pix5main();
		return 0;
	}

#endif
